.netflix-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 10%, transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1000;
    transition: background 0.3s ease;
}

.netflix-header.scrolled {
    background: #141414;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    color: #E50914;
    font-size: 28px;
    font-weight: bold;
    margin-right: 40px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #b3b3b3;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon, .notification-icon {
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.profile-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #E50914;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
}
            .container {
                position: relative;
                height: 100vh;
                overflow: hidden;
            }
            .container::after {
                content: "";
                position: absolute;
                left: 0;
                top: 0;
                width: 50%;
                height: 100%;
                background: linear-gradient(to right, rgba(0,0,0,100), rgba(0,0,0,0));
                z-index: 1; /* lower layer */
            }

/* Bring text ABOVE the overlay */
            .container-content {
                position: absolute;
                top: 25%;
                left: 120px;
                max-width: 450px;
                z-index: 2; /* higher layer */
            }

            .sidebar {
                position: fixed;
                top: 0;
                left: 0;
                width: 60px;
                height: 100vh;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .sidebar ul {
                list-style: none;
                padding: 0;
            }

            .sidebar li {
                margin: 25px 0;
                font-size: 22px;
                opacity: 0.7;
                cursor: pointer;
                transition: 0.3s;
            }

            .sidebar li:hover {
                opacity: 1;
            }
            body {
                margin: 0;
                font-family: Arial, sans-serif;
                background: black;
                color: white;
            }
            .description {
                margin-top: 15px;
                font-size: 18px;
                line-height: 1.4;
            }
            .series-label {
                color: #E50914;
                font-size: 18px;
                font-weight: bold;
            }
            .buttons {
                margin-top: 20px;
                display: flex;
                gap: 10px;
            }

            .play, .info {
                padding: 10px 25px;
                border: none;
                border-radius: 4px;
                font-size: 18px;
                cursor: pointer;
            }

            .play {
                background: white;
                color: black;
            }

            .info {
                background: rgba(255,255,255,0.3);
                color: white;
            }

/* SIDEBAR */
            .sidebar {
                position: fixed;
                top: 0;
                left: 0;
                width: 60px;
                height: 100vh;
                display: flex;
                justify-content: center;
                align-items: center;
                background: rgba(0,0,0,0.6); /* optional: helps it stand out */
                z-index: 10; /* bring to front */
            }


.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 25px 0;
    font-size: 22px;
    opacity: 0.7;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar li:hover {
    opacity: 1;
}
.trending-section {
    background: black;
    color: white;
    padding: 40px 80px;
    position: relative; /* Add this for button positioning */
}

.trending-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.trending-container {
    position: relative; /* Container for row and buttons */
}

.trending-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth; /* Smooth scrolling */
}

.trending-row::-webkit-scrollbar {
    display: none;
}

.trending-item {
    flex: 0 0 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.trending-item:hover {
    transform: scale(1.08);
}

.trending-item img {
    width: 100%;
    border-radius: 6px;
    height: 300px;
    object-fit: cover;
}

/* Navigation Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease;
}

.scroll-btn:hover {
    background: rgba(229, 9, 20, 0.8);
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}
form {
    background: rgba(20, 20, 20, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
    width: 100%;
    max-width: 500px;
    border: 1px solid #333;
}
form::before {
    content: "Contact Me";
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #E50914;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
form input[type="text"],
form input[type="email"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #333;
    border: 2px solid #444;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}
form input[type="text"]:focus,
form input[type="email"]:focus {
    outline: none;
    border-color: #E50914;
    background: #444;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}
form input::placeholder {
    color: #999;
    font-size: 14px;
}
form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #333;
    border: 2px solid #444;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    appearance: none; /* Removes default browser styling */
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23E50914' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}
form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 25px;
    background: #333;
    border: 2px solid #444;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    resize: vertical; /* Allows only vertical resizing */
    min-height: 120px;
    font-family: inherit;
    transition: all 0.3s ease;
}
form textarea:focus {
    outline: none;
    border-color: #E50914;
    background: #444;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}
form input[type="submit"] {
    width: 100%;
    padding: 15px;
    background: #E50914;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
form input[type="submit"]:hover {
    background: #f40612;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    form {
        padding: 30px 20px;
        margin: 20px;
    }
    
    form::before {
        font-size: 24px;
    }
}